package com.csi.bumblebee.domain.user;

import com.csi.bumblebee.domain.dictionary.EducationBackground;
import com.csi.bumblebee.domain.dictionary.JobType;
import com.csi.bumblebee.domain.dictionary.MyLocation;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * user_Job表
 *
 * @author yeebs
 */
@Data
public class MyJob implements Serializable {

    public static final String PRE_NAME = "UJ";

    /**
     * 主键id
     */
    private String id;

    /**
     * 岗位具体名称
     */
    private String jobName;

    /**
     * 外键:企业id
     */
    private String companyId;

    /**
     * 引用：企业
     */
    private Company company;

    /**
     * 字典:岗位行业类型id
     */
    private String jobTypeId;

    /**
     * 引用：岗位行业类型
     */
    private JobType jobType;

    /**
     * 字典:学历要求id
     */
    private String educationBackgroundId;

    /**
     * 引用：学历
     */
    private EducationBackground educationBackground;

    /**
     * 薪资范围(最高薪资)
     */
    private Double highestSalary;

    /**
     * 薪资范围(最低薪资)
     */
    private Double lowestSalary;

    /**
     * 字典:岗位位置id
     */
    private String locationId;

    /**
     * 引用：岗位位置
     */
    private MyLocation myLocation;

    /**
     * 岗位具体位置
     */
    private String locationDesc;

    /**
     * 岗位描述
     */
    private String jobDesc;

    /**
     * 状态(1未启用,2启用,3弃用(暂停招聘))
     */
    private int status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date creationTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;

    /**
     * 修改人
     */
    private String modifyBy;


}

